package com.ansion.commonchat.contact.adapter;

import android.view.View;

import androidx.annotation.NonNull;

import com.ansion.adapter.ITurboItem;
import com.ansion.adapter.TurboAdapter;
import com.ansion.commonchat.R;
import com.ansion.commonchat.contact.bean.ContactDividerBean;
import com.ansion.commonchat.contact.ui.ContactItemType;


/**
 * 联系人 分割线
 */
public class ContactDividerItem implements ITurboItem<ContactDividerItem.VH> {

    @Override
    public int getType() {
        return ContactItemType.ItemTypeDivider;
    }

    @Override
    public int getLayoutRes() {
        return R.layout.contact_item_divider;
    }

    @NonNull
    @Override
    public VH getViewHolder(View v) {
        return new VH(v);
    }

    class VH extends TurboAdapter.ViewHolder<ContactDividerBean> {

        public VH(View itemView) {
            super(itemView);
        }

        @Override
        public void bindView(ContactDividerBean bean, int position) {

        }
    }
}
